//维护 蒙层引导 相关数据
//需要 高亮的引导的 需要给 id（确保全局id唯一）

import { messages } from "share/common";

/* *
 * 新菜单引导：
 *
 * 1.横向菜单   new-menu-horizontal-menu-mask-guide   &&   menu-header-container-guide-id  高亮
 * 2.竖向菜单   menu-body-container-mask-guide    高亮
 * 3.菜单搜索   menu-search-mask-guide            高亮
 *
 * */

const Menu2_0 = {
  key: "menu",
  scrollTarget: undefined,
  list: [
    {
      elementId: "new-menu-horizontal-menu-mask-guide",
      transparentArea: undefined,
      mouseOverId: undefined,
      otherId: "menu-header-container-guide-id",
    },
    {
      elementId: "menu-body-container-mask-guide",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "menu-search-mask-guide",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
  ],
  options: [
    {
      ref: "new-menu-horizontal-menu-mask-guide",
      refId: "new-menu-horizontal-menu-mask-guide",
      title: messages("common-1.key1338") /*横向菜单*/,
      content: messages(
        "common-1.key1374"
      ) /*这里是横向菜单，根据角色和场景分类，日常使用、财务管理和系统管理分开啦～*/,
      placement: "bottom",
      inline: "start",
      leftFix: 20,
      arrowStyle: {
        top: "-35px",
        left: "150px",
      },
    },
    {
      ref: "menu-body-container-mask-guide",
      refId: "menu-body-container-mask-guide",
      title: messages("common-1.key1375") /*竖向菜单*/,
      content: messages("common-1.key1376") /*这里是竖向菜单，可查看横向菜单下对应的内容～*/,
      placement: "right",
      block: "start",
      topFix: 151,
      arrowStyle: {
        left: "-36px",
        top: "72px",
      },
    },
    {
      ref: "menu-search-mask-guide",
      refId: "menu-search-mask-guide",
      title: messages("common-1.key1377") /*菜单搜索*/,
      content: messages("common-1.key1378") /*这里支持全局模糊搜索菜单哦～*/,
      placement: "right",
      block: "start",
      arrowStyle: {
        left: "-36px",
        top: "9px",
      },
    },
  ],
  needBackToHome: true,
};

const DashBoard_2_0 = {
  key: "dashboard",
  scrollTarget: "dashboard-scroll-container",
  list: [
    {
      elementId: "home-2",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-3",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-5",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-9",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-0",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
  ],
  options: [
    {
      ref: "home-2",
      refId: "home-2",
      title: messages("common-1.key1410") /*快速新建*/,
      content: messages("common-1.key1411") /*这里可以快速新建费用和单据*/,
      placement: "auto",
      inline: "center",
      arrowStyle: {},
    },
    {
      ref: "home-3",
      refId: "home-3",
      title: messages("common-1.key1412") /*单据动态*/,
      content: messages("common-1.key1413") /*这里可以查看单据的最新动态*/,
      placement: "auto",
      block: "start",
      arrowStyle: {},
    },
    {
      ref: "home-5",
      refId: "home-5",
      title: messages("common-1.key1414") /*图表分析*/,
      content: messages("common-1.key1415") /*这里可以查看个人/部门/成本中心的每月报销金额和费用类型排名*/,
      placement: "auto",
      inline: "center",
      arrowStyle: {},
    },
    {
      ref: "home-9",
      refId: "home-9",
      title: messages("common-1.key1416") /*商务出行*/,
      content: messages("common-1.key1417") /*这里可以快速进入消费商页面预订机票/酒店等*/,
      placement: "auto",
      block: "start",
      arrowStyle: {},
    },
    {
      ref: "home-0",
      refId: "home-0",
      title: messages("common-1.key1418") /*企业公告*/,
      content: messages("common-1.key1419") /*这里可以查看企业公告信息*/,
      placement: "auto",
      inline: "center",
      arrowStyle: {},
    },
  ],
};

const HOME_2_0 = {
  key: "home",
  scrollTarget: "home-scroll-container",
  list: [
    {
      elementId: "home-head-box-guide-id",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-main-charts-guide-id",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "home-update-log-guide-id",
      transparentArea: undefined,
      mouseOverId: undefined,
      otherId: "home-helios-news-guide-id",
    },
    {
      elementId: "helios-service-charts-guide-id-CHECK_INVOICE",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
  ],
  options: [
    {
      ref: "home-head-box-guide-id",
      refId: "home-head-box-guide-id",
      title: messages("common-1.key1420") /*租户信息*/,
      content: messages("common-1.key1421") /*这里可以查看license用量和总人数*/,
      placement: "bottom",
      inline: "end",
      leftFix: 20,
      arrowStyle: {},
    },
    {
      ref: "home-main-charts-guide-id",
      refId: "home-main-charts-guide-id",
      title: messages("common-1.key1422") /*单量统计与服务商*/,
      content: messages("common-1.key1423") /*这里可以查看企业整体的单据提交量与消费用量*/,
      placement: "right",
      block: "start",
      arrowStyle: {},
    },
    {
      ref: "home-update-log-guide-id",
      refId: "home-update-log-guide-id",
      title: messages("common-1.key1424") /*更新日志与活动*/,
      content: messages("common-1.key1425") /*这里可以查看系统的更新日志、最新活动/文章等*/,
      placement: "left",
      block: "start",
      arrowStyle: {},
    },
    {
      ref: "helios-service-charts-guide-id-CHECK_INVOICE",
      refId: "helios-service-charts-guide-id-CHECK_INVOICE",
      title: messages("common-1.key198") /*发票查验*/,
      content: messages("common-1.key1426") /*这里可以查看发票查验等订单的用量与余量*/,
      placement: "top",
      inline: "center",
      arrowStyle: {},
    },
  ],
};

const DASHBOARD_DRAG_2_0 = {
  key: "dashboard_drag",
  scrollTarget: "dashboard-scroll-container",
  list: [
    {
      elementId: "operate-item-guide-id",
      transparentArea: undefined,
      mouseOverId: undefined,
      expand: 16,
    },
    {
      elementId: "home-0",
      transparentArea: undefined,
      mouseOverId: undefined,
    },
    {
      elementId: "finish-and-save-guide-id",
      transparentArea: undefined,
      mouseOverId: undefined,
      expand: 16,
    },
  ],
  options: [
    {
      ref: "operate-item-guide-id",
      refId: "operate-item-guide-id",
      title: messages("basic-1.key135") /*首页设置*/,
      content: messages("basic-1.key138") /*这里可以设置模块的显示和隐藏*/,
      placement: "right",
      inline: "end",
      arrowStyle: {
        top: "-16px",
        left: "-30px",
      },
    },
    {
      ref: "home-0",
      refId: "home-0",
      title: messages("basic-1.key135") /*首页设置*/,
      content: messages("common-1.key1448") /*拖动模块可移动位置*/,
      placement: "auto",
      inline: "center",
      arrowStyle: {},
    },
    {
      ref: "finish-and-save-guide-id",
      refId: "finish-and-save-guide-id",
      title: messages("basic-1.key135") /*首页设置*/,
      content: messages("basic-1.key141") /*完成后点击这里回到正常使用*/,
      placement: "left",
      block: "start",
      arrowStyle: {
        top: "-6px",
        right: "-30px",
      },
    },
  ],
};

export { Menu2_0, DashBoard_2_0, HOME_2_0, DASHBOARD_DRAG_2_0 };
